<h2 class="contentTitle">Edit Season</h2>
<fieldset>
<table class="contentTable">
<tr>
<td class="label">Season Title:</td>
<td><input type=text name=SEASON_NAME value="<TMPL_VAR NAME=SEASON_NAME>" size=80></td>
</tr>
<tr>
<td class="label">Season Start Date:</td>
<td><input type=text name=SEASON_STARTDATE value="<TMPL_VAR NAME=SEASON_STARTDATE>" size=40><br>
<small>Date image was taken, format: yyyy-mm-dd</small></td>
</tr>
<tr>
<td class="label">Summary:</td>
<td><textarea rows=20 cols=90 name="SEASON_SUMMARY"><TMPL_VAR NAME=SEASON_SUMMARY></textarea>
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_SEASON_SUMMARY_><br>
<small>A full summary of the season including finishing positions etc.</small></td>
</tr>
<tr>
<td class="label">Active:</td>
<td><TMPL_VAR NAME=SEASON_ACTIVE></td>
</tr>
</table>
<div class="submit">
<input type=button class="button" onClick="document.forms[0].s.value='Season.Activate'; document.forms[0].submit();" value="Set Active Season">
<input type=button class="button" onClick="updateObject('SEASON','<TMPL_VAR NAME=PK_OBJECT_ID>');" value="Update &raquo;">
</div>

<h3 class="contentSubTitle">Competitions</h3>

<table class="contentTable">
<TMPL_VAR NAME=SEASON_FIXTURES>
</table>
<div class="submit">
<input type=button class="button" onClick="addObject('COMPETITION','<TMPL_VAR NAME=PK_OBJECT_ID>');" value="Add Competition">
</div>
</fieldset>

<TMPL_VAR NAME=OBJECTS> 